<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="js/jquery.js"></script>

<script type="text/javascript">
$(document).ready(function(){
  $(".click").click(function(){
  $(".tip").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip").fadeOut(200);
});

  $(".sure").click(function(){
  $(".tip").fadeOut(100);
});

  $(".cancel").click(function(){
  $(".tip").fadeOut(100);
});

  $(".tablelink").click(function(){
  $(".tip2").fadeIn(200);
  });
  
  $(".tiptop a").click(function(){
  $(".tip2").fadeOut(200);
});

  $(".cancel").click(function(){
  $(".tip2").fadeOut(100);
});

 $('.tablelist').find('.delete').click(function() {
    var text = $('.tablelist').find('tr').find('td').eq(1).text();
    $('#detitle').text("请确认是否删除该新闻内容！其标题为："+text);
    $(".tip3").fadeIn(200);
});

  $(".tiptop a").click(function(){
  $(".tip3").fadeOut(200);
});

  $(".cancel").click(function(){
  $(".tip3").fadeOut(100);
});
});
</script>


</head>


<body>

	<div class="place">
    <span>位置：</span>
    <ul class="placeul">
    <li><a href="#">首页</a></li>
    <li><a href="#">新闻管理</a></li>
    <li><a href="#">新闻管理</a></li>
    </ul>
    </div>
    
    <div class="rightinfo">
    
    <div class="tools">
    
    	<ul class="toolbar">
        <li class="click"><span><img src="images/t01.png" /></span>添加</li>
        </ul>
    
    </div>
    
    
    <table class="tablelist">
    	<thead>
    	<tr>
        <th>编号<i class="sort"><img src="images/px.gif" /></i></th>
        <th>标题</th>
        <th>来源</th>
        <th>URL</th>
        <th>发布时间</th>
        <th>是否审核</th>
        <th>操作</th>
        </tr>
        </thead>
        <tbody>
        <tr>
        <td>20130908</td>
        <td id="title">王金平幕僚：马英九声明字字见血 人活着没意思</td>
        <td>红豆</td>
        <td>www.baidu.com</td>
        <td>2013-09-09 15:05</td>
        <td>已审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete"> 删除</a></td>
        </tr> 
        
        <tr>
        <td>20130907</td>
        <td id="title">温州19名小学生中毒流鼻血续：周边部分企业关停</td>
        <td>红豆社区</td>
        <td>www.baidu.com</td>
        <td>2013-09-08 14:02</td>
        <td>未审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete">删除</a></td>
        </tr>
        
        <tr>
        <td>20130906</td>
        <td id="title">社科院:电子商务促进了农村经济结构和社会转型</td>
        <td>百度贴吧</td>
        <td>www.baidu.com</td>
        <td>2013-09-07 13:16</td>
        <td>未审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete">删除</a></td>
        </tr>
        
        <tr>
        <td>20130905</td>
        <td id="title">江西&quot;局长违规建豪宅&quot;：局长检讨</td>
        <td>新浪微博</td>
        <td>www.baidu.com</td>
        <td>2013-09-06 10:36</td>
        <td>已审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete">删除</a></td>
        </tr>
        
        <tr>
        <td>20130904</td>
        <td id="title">中国2020年或迈入高收入国家行列</td>
        <td>百度贴吧</td>
        <td>www.baidu.com</td>
        <td>2013-09-05 13:25</td>
        <td>已审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete">删除</a></td>
        </tr>
        
        <tr>
        <td>20130903</td>
        <td id="title">深圳地铁车门因乘客拉闸打开 3人被挤入隧道</td>
        <td>维信</td>
        <td>www.baidu.com</td>
        <td>2013-09-04 12:00</td>
        <td>已审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete">删除</a></td>
        </tr>
        
        <tr>
        <td>20130902</td>
        <td id="title">33次地表塌陷 村民不敢下地劳作(图)</td>
        <td>新浪微博</td>
        <td>www.baidu.com</td>
        <td>2013-09-03 00:05</td>
        <td>未审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete">删除</a></td>
        </tr>
        
        <tr>
        <td>20130901</td>
        <td id="title">医患关系：医生在替改革不彻底背黑锅</td>
        <td>贴吧</td>
        <td>www.baidu.com</td>
        <td>2013-09-02 15:05</td>
        <td>未审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete">删除</a></td>
        </tr>
        
        <tr>
        <td>20130900</td>
        <td id="title">山东章丘公车进饭店景点将自动向监控系统报警</td>
        <td>红豆</td>
        <td>www.baidu.com</td>
        <td>2013-09-01 10:26</td>
        <td>已审核</td>
        <td><a href="#" class="tablelink">修改</a>     <a href="#" class="delete">删除</a></td>
        </tr>        
        </tbody>
    </table>
    
   
    <div class="pagin">
    	<div class="message">共<i class="blue">1256</i>条记录，当前显示第&nbsp;<i class="blue">2&nbsp;</i>页</div>
        <ul class="paginList">
        <li class="paginItem"><a href="javascript:;"><span class="pagepre"></span></a></li>
        <li class="paginItem"><a href="javascript:;">1</a></li>
        <li class="paginItem current"><a href="javascript:;">2</a></li>
        <li class="paginItem"><a href="javascript:;">3</a></li>
        <li class="paginItem"><a href="javascript:;">4</a></li>
        <li class="paginItem"><a href="javascript:;">5</a></li>
        <li class="paginItem more"><a href="javascript:;">...</a></li>
        <li class="paginItem"><a href="javascript:;">10</a></li>
        <li class="paginItem"><a href="javascript:;"><span class="pagenxt"></span></a></li>
        </ul>
    </div>
    
    
   <div class="tip">
        <div class="tiptop">
            <span>添加信息</span><a></a>
        </div>

        <form method="post" class="basic-grey">
            <h1>
                添加一条新闻信息 <span>可以在这里添加你的新闻信息及URL</span>
            </h1>
            <span id="ce"></span> <label> <span>新闻标题 :</span> <input
                id="cname" type="text" name="cname"/>
            </label> 
            <span id="ce"></span> <label> <span>来源 :</span> <input
                id="cname" type="text" name="cname"/>
            </label> 
            <span id="ce"></span> <label> <span>URL（网站地址）:</span> <input
                id="cname" type="text" name="cname"/>
            </label> 
            <span id="ce"></span> <label> <span>新闻简介 :</span><textarea name="" cols="" rows="" ></textarea>
            </label> 
                <div class="tipbtn">
                    <input name="" type="button" class="sure" value="添加" />&nbsp; <input
                        name="" type="button" class="cancel" value="取消" />
                </div>
            </label>
        </form>
    </div>

    <div class="tip2">
        <div class="tiptop">
            <span>修改信息</span><a></a>
        </div>

        <form method="post" class="basic-grey">
            <h1>
                修改一条新闻信息 <span>可以在这里修改你的新闻信息，但要填写修改理由</span>
            </h1>
            <span id="ce"></span> <label> <span>修改理由 :</span> <input
                id="cname" type="text" name="cname"/>
            </label> 
            <span id="ce"></span> <label> <span>新闻标题 :</span> <input
                id="cname" type="text" name="cname"/>
            </label> 
            <span id="ce"></span> <label> <span>来源 :</span> <input
                id="cname" type="text" name="cname"/>
            </label> 
            <span id="ce"></span> <label> <span>URL（网站地址）:</span> <input
                id="cname" type="text" name="cname"/>
            </label> 
            <span id="ce"></span> <label> <span>新闻简介 :</span><textarea name="" cols="" rows="" ></textarea>
            </label> 
                <div class="tipbtn">
                    <input name="" type="button" class="sure" value="修改" />&nbsp; <input
                        name="" type="button" class="cancel" value="取消" />
                </div>
            </label>
        </form>
    </div>

        <div class="tip3">
        <div class="tiptop">
            <span>删除信息</span><a></a>
        </div>

        <form method="post" class="basic-grey">
            <h1>
                删除一条新闻信息 <span id='detitle'>请确认是否删除这条信息，并填写删除理由</span>
            </h1>
            <span id="ce"></span> <label> <span>删除理由:</span> <input
                id="cname" type="text" name="cname"/>
            </label> 
            </label> 
                <div class="tipbtn">
                    <input name="" type="button" class="sure" value="删除" />&nbsp; <input
                        name="" type="button" class="cancel" value="取消" />
                </div>
            </label>
        </form>
    </div>



    <script type="text/javascript">
	$('.tablelist tbody tr:odd').addClass('odd');
	</script>

</body>

</html>
